//
//  UIView+SingleTap.m
//  ShanMei
//
//  Created by huazi on 15/3/18.
//  Copyright (c) 2015年 huazi. All rights reserved.
//

#import "UIView+SingleTap.h"

@implementation UIView (SingleTap)
- (void)addSingleTap
{
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(singleTap:)];
    self.userInteractionEnabled =YES;
    tap.cancelsTouchesInView = NO;
    [self addGestureRecognizer:tap];
}
- (void)singleTap:(UITapGestureRecognizer *)tap
{

}
@end
